/*
 * CategoryResponse.java
 * business
 *
 * Created by ChenTao on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.response;

import com.google.gson.annotations.SerializedName;
import com.yidiandao.business.data.imagemodule.ImageAD;
import com.yidiandao.business.data.net.BaseResponse;

import java.util.List;

/** 主页 分类 */
public class CategoryResponse extends BaseResponse {

    @SerializedName("data")
    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        @SerializedName("name")
        private String name;

        @SerializedName("cat_list")
        private List<CatListBean> catList;

        @SerializedName("adver_info")
        private ImageAD mImageAD;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<CatListBean> getCatList() {
            return catList;
        }

        public void setCatList(List<CatListBean> catList) {
            this.catList = catList;
        }

        public ImageAD getImageAD() {
            return mImageAD;
        }

        public void setImageAD(ImageAD imageAD) {
            mImageAD = imageAD;
        }

        public static class CatListBean {
            @SerializedName("id")
            private String id;

            @SerializedName("name")
            private String brand;

            @SerializedName("img")
            private String img;

            @SerializedName("cat_list")
            private List<Cat> cat;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getBrand() {
                return brand;
            }

            public void setBrand(String brand) {
                this.brand = brand;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public List<Cat> getCat() {
                return cat;
            }

            public void setCat(List<Cat> cat) {
                this.cat = cat;
            }

            public static class Cat {
                @SerializedName("id")
                private String cat_id;

                @SerializedName("name")
                private String cat_name;

                @SerializedName("img")
                private String cat_img;

                public String getCat_id() {
                    return cat_id;
                }

                public void setCat_id(String cat_id) {
                    this.cat_id = cat_id;
                }

                public String getCat_name() {
                    return cat_name;
                }

                public void setCat_name(String cat_name) {
                    this.cat_name = cat_name;
                }

                public String getCat_img() {
                    return cat_img;
                }

                public void setCat_img(String cat_img) {
                    this.cat_img = cat_img;
                }
            }
        }
    }
}
